import BasicLayout from '@/layouts/basic-layout';

const meta = {
	auth: true
};

const pre = 'abilityAssessment-';

export default {
	path: '/abilityAssessment',
	name: 'abilityAssessment',
	redirect: {
		name: `${pre}competencyScale`
	},
	meta,
	component: BasicLayout,
	children: [
		{
			path: 'competencyScale',
			name: `${pre}competencyScale`,
			meta: {
				...meta,
				title: '能力测评表管理'
			},
			component: () => import('@/pages/abilityAssessment/competencyScale')
		}, {
			path: 'empEvaluationInfo',
			name: `${pre}empEvaluationInfo`,
			meta: {
				...meta,
				title: '员工测评信息'
			},
			component: () => import('@/pages/abilityAssessment/empEvaluationInfo')
		}, {
			path: 'abilityAssessmentDataAnalysis',
			name: `${pre}abilityAssessmentDataAnalysis`,
			meta: {
				...meta,
				title: '能力测评数据分析'
			},
			component: () => import('@/pages/abilityAssessment/abilityAssessmentDataAnalysis')
		},
	]
};
